/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package facade;

import entities.CustomerRequest;
import java.util.Date;
import java.util.List;

/**
 *
 * @author Andrés Felipe
 */
public interface CustomerRequestFacadeRemote {

    void create(CustomerRequest customerRequest);

    void edit(CustomerRequest customerRequest);

    void remove(CustomerRequest customerRequest);

    CustomerRequest find(Object id);

    List<CustomerRequest> findAll();

    List<CustomerRequest> findRange(int[] range);

    int count();
    
    CustomerRequest getIdRequest(String customerIdentification , int pymeIdentification, Date date);
    
    long getIdRequest(String customerIdentification,int pymeId);
    
    boolean verifyDate(int idRequest); 
    
    
}
